﻿using PeiYue.IServices.BASE;
using PeiYue.Model.Models.Purchase;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace PeiYue.IServices.Purchase
{
    public interface ISrmSortingRecord : IBaseServices<SrmSortingRecordDao>
    {
        Task<int> DeleteBySaleId(int saleId, string supplierCode = "");
        Task<int> DeleteByFId(int fID);
        /// <summary>
        /// 缺货
        /// </summary>
        /// <param name="fID"></param>
        /// <param name="userId"></param>
        /// <returns></returns>
        Task<bool> LackGoods(int fID, long userId);
    }
}
